package com.koron.css2.systemManage.mapper;

import com.koron.css2.systemManage.bean.OrgOperationBean;
import org.apache.ibatis.annotations.Param;
import org.koron.ebs.mybatis.EnvSource;

import java.util.List;

@EnvSource("_default")
public interface OrgOperationMapper {
	
	List<OrgOperationBean> selectByOrgCode(String orgCode);
	
	int deleteByOrgCode(String orgCode);

	int deleteByOrgCodeAndOperationCode(@Param("orgCode") String orgCode, @Param("operationCode") String operationCode);
	
	int addOrgOperation(OrgOperationBean orgOperation);

}
